package com.ysd.util;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;

public class DataResult {
public Connection conn;
public Statement st;
public ResultSet rs;
public DataResult(Connection conn, Statement st, ResultSet rs) {
 super();
 this.conn = conn;
 this.st = st;
 this.rs = rs;
}
public void closeAll() throws Exception{
 rs.close();
 st.close();
 conn.close();
}

}